home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 November / macformat-043.iso / mac / Shareware Plus / Developers / OpenStack Rinaldi Collection / openstack-rinaldi-lib / GetIcon 1.0 (US) / GetIcon 1.0 (US).rsrc / HELP_5635 next >
Encoding:
Text File  |  1996-01-09  |  2.3 KB  |  56 lines

  1.  
  2.  
  3.                                               GetIcon 1.0
  4.  
  5.                                          by Frédéric RINALDI
  6.  
  7. DESCRIPTION
  8.   GetIcon allows to add in teh current stack an ICON resource coming from the Desktop file. It requires System 7.
  9.  
  10. SYNTAX
  11.       GetTheIcon(<file "creator,type" or pathName>[,<volume name>])
  12.  
  13. PARAMETERS
  14.    <file "creator,type" or pathName> can be a two items string built with file creator & type, or the full pathname of a file.
  15.  
  16.    <volume name> is optional, and allows to define the volume from where the ICON has to come from. Default scans all mounted volumes.
  17.  
  18.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  19.  
  20. USING
  21.    The XCMD creates an ICON resource in the current stack with random ID and name built with file creator & type.
  22.  
  23.    If the resource already exists, the XCMD simply returns its info without creating another one.
  24.  
  25.    If the icon is found, the XCMD return a two items string with resource name & ID.
  26.  
  27. ERRORS
  28.    If an error occurs, the XCMD can return :
  29.      "Error : GetIcon requires System 7"
  30.      "Error : Missing or empty parameter"
  31.      "Error : Out of memory"
  32.      "Error : Couldn't add resource"
  33.      "Error : Entry not found"
  34.      "Error : Not a file"
  35.      "Error : Alias file not supported"
  36.      "Error : Volume not found"
  37.      "Error : Bad Name"
  38.      "Error : File not found"
  39.      "Error : Folder not found"
  40.      "Error : I/O Error"
  41.      "Error : Volume is full"
  42.      "Error : Volume is locked"
  43.      "Error : Couln't create copy buffer"
  44.                    GetIcon XCMD, © Frederic Rinaldi, 1989…1993.
  45. HISTORY
  46. 1.0                                                                                         03/13/92
  47. • First release
  48. --------------------------------------------------------------------
  49.    All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  50.  
  51.                    GetIcon XCMD, © Frederic Rinaldi, 1989…1993.
  52.  
  53.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  54.  
  55. AppleLink: RINALDI1   CalvaCom : FR10    Compuserve : 71170,2111
  56.                Internet : RINALDI1@APPLELINK@APPLE.COM